﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DDD;
using Xunit;

namespace DokiDokiTest {
    public class TestGlobalSettings {
        
        [Fact]
        public void Test_Torelance () {
            var tmp = GlobalSettings.Tolerance;

            Assert.Equal (0.00001f, GlobalSettings.Tolerance);

            GlobalSettings.Tolerance = 0.1f;

            Assert.Equal (0.1f, GlobalSettings.Tolerance);
        }

        [Fact]
        public void Test_MaxTextureCount () {
            Assert.Equal (4, GlobalSettings.MaxTextureCount);
        }
    }
}
